package nl.stroep.html
{
	import flash.external.ExternalInterface;
	/**
	 * ...
	 * @author Mark Knol
	 */
	public class HTML
	{
		public var window:Object;
		public var document:Object;
		public var console:Object;
			
		public function HTML() 
		{
			window = JsObject.get("window");
			document = JsObject.get("document");
			console = JsObject.get("console");
		}
		
		public function callFunction(functionName:String, ...params):void
		{
			ExternalInterface.call("dbUtil." + functionName, params);
		}
	}

}